package day0709;

import java.util.Scanner;

public class Test5 {
    public static void main(String[] args) {
        Scanner s=new Scanner(System.in);
        int year=s.nextInt();

        String a=  year%400==0  ||(year%4==0 &&year%100 !=0 )  ?  "是闰年"  :  "不是闰年";
        System.out.println(a);
    }
}
